package com.haier.npt.authention.authc;

import java.util.List;

import com.haier.npt.security.domain.SysApp;


public class SimpleAuthenticationInfo  implements AuthenticationInfo{

	private static final long serialVersionUID = 1L;

	public SimpleAuthenticationInfo(Object principal,List<SysApp> sysApps ,String token) {
		this.principal = principal;
		this.sysApps = sysApps;
		this.token = token ; 
	}
	/**
	 * 身份信息
	 */
	private Object  principal ; 
	
	/**
	 * 对应的appkey
	 */
	private List<SysApp> sysApps ; 
	
	private String token ; 
	
	

	public String getToken() {
		return token;
	}


	public void setToken(String token) {
		this.token = token;
	}


	@Override
	public Object getPrincipal() {
		return principal;
	}


	public List<SysApp> getSysApps() {
		return sysApps;
	}


	public void setSysApps(List<SysApp> sysApps) {
		this.sysApps = sysApps;
	}

	public void setPrincipal(Object principal) {
		this.principal = principal;
	}


}
